close all
clear all
clc

x=linspace(-1,1,100);
y1=x.^1;
y2=x.^2;
y3=x.^3;

fig=figure;
%set('Color','w'); % This has problems in Octave
set(fig,'Name', 'Sample Graph3');
set(fig,'NumberTitle', 'off');

plot(x,y1,'-r','LineWidth',2);
hold on
plot(x,y2,'-g','LineWidth',2);
plot(x,y3,'-b','LineWidth',2);
hold off
% Add Legend
legend('x','x^2','x^3','Location','Southeast');



